package com.wn.mapper;

import com.common.base.BaseMapper;
import com.common.entity.Hotel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface HotelMapper extends BaseMapper<Hotel> {

    List<Hotel> findHotelAndHotelroomitem(String id);

    List<Hotel> getById(@Param("userid") String userid);

    int updatehert(String id, Double grade);
}
